<?php #20070831 http://www.framework.altervista.org/FrameWork/blocks/right/15_user_on_line/upgrade.inc
//upgrade user_on_line

    upgrade_download("http://www.FrameWork.altervista.org/FrameWork/blocks/right/user_on_line/block.inc","$pathk/block.inc");
    upgrade_download("http://www.FrameWork.altervista.org/FrameWork/blocks/right/user_on_line/campanello.swf","$path/campanello.swf");

    if (!file_exists("$path/$block/images"))mkdir("$path/$block/images");
    upgrade_download("http://www.FrameWork.altervista.org/FrameWork/blocks/right/user_on_line/images/titleicon.gif","$path/images/titleicon.gif");

    upgrade_download("http://www.FrameWork.altervista.org/FrameWork/blocks/right/user_on_line/images/group-admins.gif","$path/images/group-admins.gif");
    upgrade_download("http://www.FrameWork.altervista.org/FrameWork/blocks/right/user_on_line/images/group-users.gif","$path/images/group-users.gif");
    upgrade_download("http://www.FrameWork.altervista.org/FrameWork/blocks/right/user_on_line/images/usr-user.gif","$path/images/usr-user.gif");
    upgrade_download("http://www.FrameWork.altervista.org/FrameWork/blocks/right/user_on_line/images/group-guests.gif","$path/images/group-guests.gif");
    upgrade_download("http://www.FrameWork.altervista.org/FrameWork/blocks/right/user_on_line/images/usr-admin.gif","$path/images/usr-admin.gif");

    if (!file_exists("$path/lang"))mkdir("$path/lang");
    upgrade_download("http://www.FrameWork.altervista.org/FrameWork/blocks/right/user_on_line/lang/en.inc","$path/lang/en.inc");
    upgrade_download("http://www.FrameWork.altervista.org/FrameWork/blocks/right/user_on_line/lang/it.inc","$path/lang/it.inc");

?>
